package com.woniuxy.main.dynamic_lzq.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.woniuxy.main.dynamic_lzq.pojo.Dynamic;
import com.woniuxy.main.dynamic_lzq.pojo.DynamicComment;
import com.woniuxy.main.dynamic_lzq.pojo.User;

public interface DynamicService {

	void addDynamic(String dynamic_detail, String fileName, HttpServletRequest request);

	List<Dynamic> findDynamicByUid(int user_id);

	void addComment(DynamicComment comment);

	List<DynamicComment> findCommentByDynamicId(int dynamic_id);

	List<User> findUsersByDynamicId(int dynamic_id);

	void retransmission(Dynamic dynamic);

	void praise(int user_id, int dynamic_id);


}
